﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class AJAX_history : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Knop_Click(object sender, EventArgs e)
    {
        ScriptManager1.AddHistoryPoint("historie", invoerVeld.Text, "Invoer historie: " + invoerVeld.Text);
    }
    protected void ScriptManager1_Navigate(object sender, HistoryEventArgs e)
    {
        if (!(e.State["historie"] == ""))
        {
            invoerVeld.Text = e.State["historie"];
        }

    }
}
